<div class="uForm uComForm">
 <?if($USER_LOGGED_IN$)?>$ERROR$
 <?if($UNSUBSCRIBE_URL$)?><div style="text-align: right; padding: 5px 0;">
 <a target="_blank" href="$UNSUBSCRIBE_URL$">  </a>
 </div><?endif?>
 <div class="uComForm-inner">
 <span class="ucf-avatar uf-with-tooltip">
 <?if($USER_AVATAR_URL$)?><img src="$USER_AVATAR_URL$" alt="avatar" />
 <?else?><img src="/.s/img/icon/social/noavatar.png" alt="avatar" /><?endif?>
 <span class="uf-tooltip">
 <?if($PROFILE_URL$)?><a class="uf-tt-item" href="$PROFILE_URL$" target="_blank"></a>
 <?else?><a class="uf-tt-item" href="#" target="_blank"></a><?endif?>
 <span class="uf-tt-hr"></span>
 <a class="uf-tt-item uf-tt-exit" href="#!"></a>
 </span>
 </span>
 <div class="ucf-content">
 <?if($USER_CAN_POST$)?><ul class="uf-form ucf-form">
 <?if($BBCODES$)?><li class="ucf-bb"><ul class="uf-form ucf-form"><li class="ucf-bb">
<input type="button" style="font-weight:bold" title=" " value="b" onclick="simpletag('b','','','message','')" id="b">
<input type="button" style="font-style:italic" title=" " value="i" onclick="simpletag('i','','','message','')" id="i">
<input type="button" style="text-decoration:underline" title=" " value="u" onclick="simpletag('u','','','message','')" id="u">
<input type="button" title=" " value="" onclick="simpletag('quote','quote','','message')" id="quote">
<input type="button" title=" " value="" onclick="simpletag('code','codes','','message')" id="codes">
<input type="button" title=" " value="" onclick="simpletag('spoiler','spoiler','','message')" id="spoiler">
<input type="button" title="   " value='l' onclick="simpletag('l','cdl','l','message')" id="cdl">
<input type="button" title="  " value='c' onclick="simpletag('c','cdc','c','message')" id="cdc">
<input type="button" title="   " value='r' onclick="simpletag('r','cdr','r','message')" id="cdr">
<input type="button" title=" " value=" " href="javascript://" rel="nofollow" onclick="new _uWnd('  ',' ',-250,-350,{modal:true,autosize:0,closeonesc:1,resize:0,fadetype:1,fadeclosetype:2,},{url:'/index/35-1-0'});return false;" class="ucf-sm">
</li>
<li></li><?endif?>
 <li>
 <table class="ucf-table">
 <tr>
 <td class="ucf-message-wrap">
 <textarea class="uf-txt-input commFl" style="height:135px;" rows="8" name="message" id="message" cols="50">$MESSAGE$</textarea>
 </td>
 <?if($SMILES$)?><td class="ucf-smiles">$SMILES$</td><?endif?>
 </tr>
 </table>
 </li>
 <li class="ucf-options">
 <span class="uf-with-tooltip ucf-option">
 <label class="ucf-option-label ucf-option-share"><input class="uf-checkbox js-ucf-option" type="checkbox" name="share" /></label>
 <span class="uf-tooltip">   </span>
 </span>
 <?if($ANONYMOUS_ALLOWED$)?><span class="uf-with-tooltip ucf-option">
 <label class="ucf-option-label ucf-option-anonymous"><input class="uf-checkbox js-ucf-option" type="checkbox" name="anonymous" /></label>
 <span class="uf-tooltip"></span>
 </span><?endif?>
 <?if($SUBSCRIBE$)?><span class="uf-with-tooltip ucf-option">
 <label class="ucf-option-label ucf-option-subscribe"><input class="uf-checkbox js-ucf-option" type="checkbox" name="subscribe" <?if($SUBSCRIBE_BY_DEFAULT$)?>checked<?endif?>/></label>
 <span class="uf-tooltip">    </span>
 </span><?endif?>
 <?if($MODULE_ID$=='shop')?><span class="uf-with-tooltip ucf-option">
 <label class="ucf-option-label ucf-option-additional" onclick="if($(this).hasClass('ucf-option-checked')){$(this).removeClass('ucf-option-checked');$('#ucf-details').hide();}else{$(this).addClass('ucf-option-checked');$('#ucf-details').fadeIn();}"><input class="uf-checkbox" type="checkbox"></label>
 <span class="uf-tooltip"> </span>
 </span><?endif?>
 </li>
 <li>
 <input <?if($EMAIL$)?> style="display:none" <?endif?> class="uf-txt-input commFl" type="text" name="email" value="$EMAIL$" size="30" maxlength="60" placeholder="your@email.com">
 </li>
 <?if($MODULE_ID$=='shop')?><li id="ucf-details" class="uf-hidden">
 <ul class="uf-form ucf-form">
 <li><textarea class="uf-txt-input prosFl" rows="3" name="pros" id="pros" placeholder=""></textarea>
 <li><textarea class="uf-txt-input consFl" rows="3" name="cons" id="cons" placeholder=""></textarea>
 </ul>
 </li><?endif?>
 <li>
 <input class="commSbmFl uf-btn" id="addcBut" type="submit" name="submit" value="" />
 </li>
 </ul>
 <?else?><div class="myWinError" style="text-align: center; height: 50px; line-height: 50px;">    ,     .</div><?endif?>
 </div>
 </div>
 <?else?><div class="uauth-small-links uauth-links-set$IMAGE_SET$">: $SOCIAL_BTNS$</div>
 <div class="uComForm-inner">
 <span class="ucf-avatar"><img src="/.s/img/icon/social/noavatar.png" alt="avatar" /></span>
 <div class="ucf-content ucf-start-content">
 <ul class="uf-form ucf-form">
 <li><textarea class="uf-txt-input commFl js-start-txt" placeholder="  ..."></textarea>
 <li><button class="uf-btn" onclick="preSaveMessage(); window.open('/index/800?ref='+window.location.href, 'SocialLoginWnd', 'width=500,height=410,resizable=yes,titlebar=yes');"></button>
 </ul>
 </div>
 </div><?endif?>
</div>